package com.gy.niuer.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import org.apache.ibatis.annotations.*;
import com.gy.niuer.domain.Department;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gy.niuer.domain.Doctor;

/**
* @Entity com.gy.niuer.domain.Doctor
*/
@Mapper
public interface DoctorMapper extends BaseMapper<Doctor> {

    List<Doctor> getByDepartment(@Param("id") int id);

    int updateThumbs(@Param("id") int id);

    Doctor selectOneById(@Param("id") Integer id);

    List<Doctor> selectAllDoctor();

    int updateThumbsIdById(@Param("thumbsId") String thumbsId, @Param("id") Integer id);

    int addAll(Doctor doctor);

    List<Doctor> selectAll();
}
